eKOK Dokumentacja Integracyjna
0.4.0 - draft Poland flag

Profil zasobu: PLeKOKEncounter - Mappings

Active as of 2026-02-16

Mappings for the pl-ekok-encounter profil zasobu.

Mappings to Structures in this Implementation Guide

No Mappings Found

Mappings to other Structures

No Mappings Found

Other Mappings

NameWorkflow PatternRIM MappingFiveWs Pattern MappingHL7 v2 Mappingdoco
.. Encounter
Event
Encounter[@moodCode='EVN']
... id
... meta
.... id
n/a
.... extension
.... versionId
.... lastUpdated
.... source
.... profile
.... security
.... tag
... implicitRules
... language
... text
Act.text?
... contained
N/A
... Slices for extension
.... extension:carePlan
..... id
n/a
..... extension
..... url
N/A
..... value[x]
N/A
...... id
n/a
...... extension
n/a
...... reference
N/A
...... type
N/A
...... identifier
.identifier
...... display
N/A
... modifierExtension
... identifier
Event.identifier
.id
FiveWs.identifier
PV1-19
... status
Event.status
.statusCode
FiveWs.status
  • No clear equivalent in HL7 v2; active/finished could be inferred from PV1-44
  • PV1-45
  • PV2-24; inactive could be inferred from PV2-16
... statusHistory
n/a
.... id
n/a
.... extension
.... modifierExtension
.... status
n/a
.... period
n/a
..... id
n/a
..... extension
..... start
./low
DR.1
..... end
./high
DR.2
... class
.inboundRelationship[typeCode=SUBJ].source[classCode=LIST].code
FiveWs.class
PV1-2
.... id
n/a
.... extension
.... system
./codeSystem
C*E.3
.... version
./codeSystemVersion
C*E.7
.... code
./code
C*E.1
.... display
CV.displayName
C*E.2 - but note this is not well followed
.... userSelected
CD.codingRationale
Sometimes implied by being first
... classHistory
n/a
... type
Event.code
.code
FiveWs.class
PV1-4 / PV1-18
... serviceType
Event.code
n/a
PV1-10
... priority
.priorityCode
FiveWs.grade
PV2-25
... subject
Event.subject
.participation[typeCode=SBJ]/role[classCode=PAT]
FiveWs.subject
PID-3
.... id
n/a
.... extension
.... reference
N/A
.... type
N/A
.... identifier
.identifier
.... display
N/A
... episodeOfCare
Event.context
n/a
FiveWs.context
  • PV1-54
  • PV1-53
... basedOn
Event.basedOn
.reason.ClinicalDocument
... Slices for participant
Event.performer
.participation[typeCode=PFM]
ROL
.... participant:All Slices
..... id
n/a
..... extension
n/a
..... modifierExtension
N/A
..... type
Event.performer.function
.functionCode
ROL-3 (or maybe PRT-4)
..... period
.time
  • ROL-5
  • ROL-6 (or maybe PRT-5)
..... individual
Event.performer.actor
.role
FiveWs.who
ROL-4
.... participant:medicalPractitioner
Event.performer
.participation[typeCode=PFM]
ROL
..... id
n/a
..... extension
..... modifierExtension
..... Slices for type
Event.performer.function
.functionCode
ROL-3 (or maybe PRT-4)
...... type:type
Event.performer.function
.functionCode
ROL-3 (or maybe PRT-4)
....... id
n/a
....... extension
....... coding
  • union(.
  • ./translation)
  • C*E.1-8
  • C*E.10-22
........ id
n/a
........ extension
........ system
./codeSystem
C*E.3
........ version
./codeSystemVersion
C*E.7
........ code
./code
C*E.1
........ display
CV.displayName
C*E.2 - but note this is not well followed
........ userSelected
CD.codingRationale
Sometimes implied by being first
....... text
./originalText[mediaType/code="text/plain"]/data
C*E.9. But note many systems use C*E.2 for this
...... type:specialization
Event.performer.function
.functionCode
ROL-3 (or maybe PRT-4)
....... id
n/a
....... extension
....... coding
  • union(.
  • ./translation)
  • C*E.1-8
  • C*E.10-22
........ id
n/a
........ extension
........ system
./codeSystem
C*E.3
........ version
./codeSystemVersion
C*E.7
........ code
./code
C*E.1
........ display
CV.displayName
C*E.2 - but note this is not well followed
........ userSelected
CD.codingRationale
Sometimes implied by being first
....... text
./originalText[mediaType/code="text/plain"]/data
C*E.9. But note many systems use C*E.2 for this
..... period
.time
  • ROL-5
  • ROL-6 (or maybe PRT-5)
...... id
n/a
...... extension
n/a
...... start
./low
DR.1
...... end
./high
DR.2
..... individual
Event.performer.actor
.role
FiveWs.who
ROL-4
...... id
n/a
...... extension
n/a
...... reference
N/A
...... type
N/A
...... identifier
.identifier
....... id
n/a
....... extension
....... use
Role.code or implied by context
N/A
....... type
Role.code or implied by context
CX.5
....... system
II.root or Role.id.root
CX.4 / EI-2-4
....... value
II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
CX.1 / EI.1
....... period
Role.effectiveTime or implied by context
CX.7 + CX.8
....... assigner
II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper
  • CX.4 / (CX.4
  • CX.9
  • CX.10)
...... display
N/A
....... id
....... Slices for extension
........ extension:familyName
......... id
n/a
......... extension
......... url
N/A
......... value[x]
N/A
........ extension:givenName
......... id
n/a
......... extension
......... url
N/A
......... value[x]
N/A
....... value
.... participant:coordinator
Event.performer
.participation[typeCode=PFM]
ROL
..... id
n/a
..... extension
..... modifierExtension
..... type
Event.performer.function
.functionCode
ROL-3 (or maybe PRT-4)
...... id
n/a
...... extension
...... coding
  • union(.
  • ./translation)
  • C*E.1-8
  • C*E.10-22
....... id
n/a
....... extension
n/a
....... system
./codeSystem
C*E.3
....... version
./codeSystemVersion
C*E.7
....... code
./code
C*E.1
....... display
CV.displayName
C*E.2 - but note this is not well followed
....... userSelected
CD.codingRationale
Sometimes implied by being first
...... text
./originalText[mediaType/code="text/plain"]/data
C*E.9. But note many systems use C*E.2 for this
..... period
.time
  • ROL-5
  • ROL-6 (or maybe PRT-5)
...... id
n/a
...... extension
n/a
...... start
./low
DR.1
...... end
./high
DR.2
..... individual
Event.performer.actor
.role
FiveWs.who
ROL-4
...... id
n/a
...... extension
...... reference
N/A
...... type
N/A
...... identifier
.identifier
...... display
N/A
... appointment
Event.basedOn
  • .outboundRelationship[typeCode=FLFS].target[classCode=ENC
  • moodCode=APT]
SCH-1 / SCH-2
... period
Event.occurrence[x]
.effectiveTime (low & high)
FiveWs.done[x]
  • PV1-44
  • PV1-45
.... id
n/a
.... extension
.... start
./low
DR.1
.... end
./high
DR.2
... length
Event.occurrence[x]
.lengthOfStayQuantity
(PV1-45 less PV1-44) iff ( (PV1-44 not empty) and (PV1-45 not empty) ); units in minutes
... reasonCode
Event.reasonCode
.reasonCode
FiveWs.why[x]
PV2-3 is nominally constrained to inpatient admissions; HL7 v2 makes no vocabulary suggestions for PV2-3; would not expect PV2 segment or PV2-3 to be in use in all implementations )
... reasonReference
Event.reasonCode
.reasonCode
FiveWs.why[x]
PV2-3 is nominally constrained to inpatient admissions; HL7 v2 makes no vocabulary suggestions for PV2-3; would not expect PV2 segment or PV2-3 to be in use in all implementations )
... diagnosis
.outboundRelationship[typeCode=RSON]
... account
.pertains.A_Account
... hospitalization
  • .outboundRelationship[typeCode=COMP].target[classCode=ENC
  • moodCode=EVN]
... location
.participation[typeCode=LOC]
.... id
n/a
.... extension
.... modifierExtension
.... location
Event.location
.role
FiveWs.where[x]
PV1-3 / PV1-6 / PV1-11 / PV1-42 / PV1-43
..... id
n/a
..... Slices for extension
...... extension:healthcareLocationTechnicalCode
....... id
n/a
....... extension
....... url
N/A
....... value[x]
N/A
..... reference
N/A
..... type
N/A
..... identifier
.identifier
...... id
n/a
...... extension
...... use
Role.code or implied by context
N/A
...... type
Role.code or implied by context
CX.5
...... system
II.root or Role.id.root
CX.4 / EI-2-4
...... value
II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
CX.1 / EI.1
...... period
Role.effectiveTime or implied by context
CX.7 + CX.8
...... assigner
II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper
  • CX.4 / (CX.4
  • CX.9
  • CX.10)
..... display
N/A
.... status
.role.statusCode
.... physicalType
.... period
.time
... serviceProvider
Event.performer.actor
.particiaption[typeCode=PFM].role
PL.6 & PL.1
.... id
n/a
.... Slices for extension
n/a
..... extension:nfzContractNumber
...... id
n/a
...... extension
...... url
N/A
...... value[x]
N/A
....... id
n/a
....... extension
....... use
Role.code or implied by context
N/A
....... type
Role.code or implied by context
CX.5
....... system
II.root or Role.id.root
CX.4 / EI-2-4
....... value
II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
CX.1 / EI.1
....... period
Role.effectiveTime or implied by context
CX.7 + CX.8
....... assigner
II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper
  • CX.4 / (CX.4
  • CX.9
  • CX.10)
..... extension:nfzRegionalBranch
...... id
n/a
...... extension
...... url
N/A
...... value[x]
N/A
....... id
n/a
....... extension
....... system
./codeSystem
C*E.3
....... version
./codeSystemVersion
C*E.7
....... code
./code
C*E.1
....... display
CV.displayName
C*E.2 - but note this is not well followed
....... userSelected
CD.codingRationale
Sometimes implied by being first
.... reference
N/A
.... type
N/A
.... identifier
.identifier
..... id
n/a
..... extension
..... use
Role.code or implied by context
N/A
..... type
Role.code or implied by context
CX.5
..... system
II.root or Role.id.root
CX.4 / EI-2-4
..... value
II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
CX.1 / EI.1
..... period
Role.effectiveTime or implied by context
CX.7 + CX.8
..... assigner
II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper
  • CX.4 / (CX.4
  • CX.9
  • CX.10)
.... display
N/A
... partOf
Event.partOf
  • .inboundRelationship[typeCode=COMP].source[classCode=COMP
  • moodCode=EVN]

doco Documentation for this format